package com.sanpu.kxe.business.card.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.card.bean.BankInfoInput;

/**
 * Description：校验验证码
 * Created by 薛勇军 on 2018/7/24.
 */

public interface VerificationContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 根据状态改变验证码验证的显示状态
         * @param status
         */
        void changeByStatus(boolean status);

        /**
         * 读秒
         */
        void byoyomi(Long aLong);
    }

    interface Presenter extends IBasePresenter {
        /**
         * 初始化数据
         */
        void initViewData(BankInfoInput infoInput);

        /**
         * 发送验证码
         */
        void sendCode();

        /**
         * 添加银行卡
         */
        void onCommit(String smsCode);
    }
}
